package recycle.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Maintenance {
    private int orderId;
    private int productId;
    private int productName;
    private int oneCategoryId;
    private int twoCategoryId;
    private int threeCategoryId;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date inDate;
    private String mp;
    private int ms;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date mt;

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public int getProductId() {
        return productId;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }

    public int getProductName() {
        return productName;
    }

    public void setProductName(int productName) {
        this.productName = productName;
    }

    public int getOneCategoryId() {
        return oneCategoryId;
    }

    public void setOneCategoryId(int oneCategoryId) {
        this.oneCategoryId = oneCategoryId;
    }

    public int getTwoCategoryId() {
        return twoCategoryId;
    }

    public void setTwoCategoryId(int twoCategoryId) {
        this.twoCategoryId = twoCategoryId;
    }

    public int getThreeCategoryId() {
        return threeCategoryId;
    }

    public void setThreeCategoryId(int threeCategoryId) {
        this.threeCategoryId = threeCategoryId;
    }

    public Date getInDate() {
        return inDate;
    }

    public void setInDate(Date inDate) {
        this.inDate = inDate;
    }

    public String getMp() {
        return mp;
    }

    public void setMp(String mp) {
        this.mp = mp;
    }

    public int getMs() {
        return ms;
    }

    public void setMs(int ms) {
        this.ms = ms;
    }

    public Date getMt() {
        return mt;
    }

    public void setMt(Date mt) {
        this.mt = mt;
    }
}
